package com.zbkj.common.request.project;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Auther:
 * @Date: 2024/9/13 22:29
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AdminEstimateFunSaveRequest对象", description = "服务端估算功能点编辑保存请求对象")
public class AdminEstimateFunSaveRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("项目ID")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @ApiModelProperty("ai估算请求流水号")
    @NotBlank(message = "请求流水号不能为空")
    private String aireqNo;

    @ApiModelProperty("新增功能点明细记录集合 功能点ID不存在")
    List<AdminEstimateFunDetailSaveRequest> newFunList;

    @ApiModelProperty("修改后功能点明细记录集合 功能点ID必须存在")
    List<AdminEstimateFunDetailSaveRequest> modifyFunList;

    @ApiModelProperty("已删除功能点明细ID")
    List<Long> delIdList;

}
